package com.bwie.service;

import com.bwie.pojo.TbMenu;
import com.bwie.pojo.TbUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.utils.R;
import com.bwie.utils.Result;
import com.bwie.vo.PageInfoVo;
import com.bwie.vo.UserLoginVo;
import com.bwie.vo.UserPageInfo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.List;

/**
* @author 叶雨洁
* @description 针对表【tb_user(用户表)】的数据库操作Service
* @createDate 2025-05-21 16:00:14
*/
public interface TbUserService extends IService<TbUser> {

    Result userLogin(UserLoginVo userLoginVo);

    R send(String message);

    R getMenuList(HttpServletRequest request);

    R uploadImage(MultipartFile file);

    R userListPage(UserPageInfo userPageInfo);

    R updateUserById(TbUser tbuser);

    R deleteById(Integer userId);

    R DeleteAll(List<TbUser> userlist);

    R checkStatus(TbUser tbUser);

    R esUserList(PageInfoVo pageInfoVo);

    R createIndex();

    R synMysql();
}
